#!/bin/bash

read key value <<< $(awk '$1 == ".wanglibao.com" {print $(NF-1),$NF}' cookie.txt )

ab -n 500  -c 500 \
-p data.json \
-T 'application/json' \
-C $key=$value \
192.168.20.245:8037/rpc
